package com.drinks.yiniang.entity.user.address;

import com.hansen.library.entity.BaseJson;

import java.io.Serializable;
import java.util.List;

/**
 * 收货地址列表json
 * @author han
 * @date 2019/9/9
 */
public class DeliverAddressJson extends BaseJson {

    private List<DeliverAddressData> data;

    public List<DeliverAddressData> getData() {
        return data;
    }

    public void setData(List<DeliverAddressData> data) {
        this.data = data;
    }

    public static class DeliverAddressData implements Serializable {
        private String id;
        private String fans_id;
        private String real_name;
        private String mobile;
        private String province_id;
        private String city_id;
        private String district_id;
        private String address;
        //是否默认地址 0-否 1-是
        private String is_default;
        private DeliverRegionData region_province;
        private DeliverRegionData region_city;
        private DeliverRegionData region_district;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getFans_id() {
            return fans_id;
        }

        public void setFans_id(String fans_id) {
            this.fans_id = fans_id;
        }

        public String getReal_name() {
            return real_name;
        }

        public void setReal_name(String real_name) {
            this.real_name = real_name;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getProvince_id() {
            return province_id;
        }

        public void setProvince_id(String province_id) {
            this.province_id = province_id;
        }

        public String getCity_id() {
            return city_id;
        }

        public void setCity_id(String city_id) {
            this.city_id = city_id;
        }

        public String getDistrict_id() {
            return district_id;
        }

        public void setDistrict_id(String district_id) {
            this.district_id = district_id;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getIs_default() {
            return is_default;
        }

        public void setIs_default(String is_default) {
            this.is_default = is_default;
        }

        public DeliverRegionData getRegion_province() {
            return region_province;
        }

        public void setRegion_province(DeliverRegionData region_province) {
            this.region_province = region_province;
        }

        public DeliverRegionData getRegion_city() {
            return region_city;
        }

        public void setRegion_city(DeliverRegionData region_city) {
            this.region_city = region_city;
        }

        public DeliverRegionData getRegion_district() {
            return region_district;
        }

        public void setRegion_district(DeliverRegionData region_district) {
            this.region_district = region_district;
        }
    }

    public static class DeliverRegionData implements Serializable {
        private String region_id;
        private String parent_id;
        private String region_name;
        private String region_type;
        private String agency_id;

        public String getRegion_id() {
            return region_id;
        }

        public void setRegion_id(String region_id) {
            this.region_id = region_id;
        }

        public String getParent_id() {
            return parent_id;
        }

        public void setParent_id(String parent_id) {
            this.parent_id = parent_id;
        }

        public String getRegion_name() {
            return region_name;
        }

        public void setRegion_name(String region_name) {
            this.region_name = region_name;
        }

        public String getRegion_type() {
            return region_type;
        }

        public void setRegion_type(String region_type) {
            this.region_type = region_type;
        }

        public String getAgency_id() {
            return agency_id;
        }

        public void setAgency_id(String agency_id) {
            this.agency_id = agency_id;
        }
    }
}
